* {
  box-sizing: border-box;
  font-family: 'Ping Fang SC', 'San Francisco', '思源黑体', 'Robot', '微软雅黑', 'Segoe UI';
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
figure,
.body,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.p,
.ol,
.ul,
.figure {
  margin: 0;
  padding: 0;
}

ol,
ul,
.ol,
.ul {
  padding: 0;
  list-style: none;
}

::-webkit-scrollbar {
  display: none;
}

html,
body,
page,
.page {
  scroll-behavior: smooth;
  overflow: auto;
}

html,
page,
.page {
  width: 100%;
  color: #333;
}

header,
main,
footer,
.header,
.main,
.footer {
  width: 100%;
}

view,
div,
button,
.btn,
.button,
input,
textarea,
.textarea {
  outline: none;
  border: none;
  resize: none;
}

input,
.input,
textarea,
.textarea {
  height: var(--main_size);
  border: var(--main_line);
  border-radius: var(--main_radius);
  cursor: text;
}

input,
.input {
  padding-top: 0;
  padding-bottom: 0;
}

button,
.button {
  margin: 0;
  padding: 0;
  background-color: transparent;
}

img,
image,
.img,
.image {
  vertical-align: top;

  object-fit: cover;
}

.underline {
  text-decoration: underline;
}

.placeholder {
  padding-bottom: 44px;
  background-color: white;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s linear;
  z-index: 999;
}

.mask.mask-show {
  top: 0;
  opacity: 1;
}

.hidden {
  display: none !important;
}

.opacity {
  visibility: hidden !important;
}

/* 定位 */
.relative {
  position: relative;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.center {
  left: 50%;
  transform: translateX(-50%);
}

.f-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.overflow {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.overflow2,
.overflow3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.overflow2 {
  -webkit-line-clamp: 2;
}

.overflow3 {
  -webkit-line-clamp: 3;
}

/* 布局 */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-column,
.flex-c {
  display: flex;
  flex-direction: column;
}

.flex.jcfe,
.flex-c.jcfe,
.flex-column.jcfe {
  justify-content: flex-end;
}

.flex.jcsb,
.flex-c.jcsb,
.flex-column.jcsb {
  justify-content: space-between;
}

.flex.jcsa,
.flex-c.jcsa,
.flex-column.jcsa {
  justify-content: space-around;
}

.flex.jcse,
.flex-c.jcse,
.flex-column.jcse {
  justify-content: space-evenly;
}

.flex.jcc,
.flex-c.jcc,
.flex-column.jcc {
  justify-content: center;
}

.flex.aic,
.flex-c.aic,
.flex-column.aic {
  align-items: center;
}

.flex.aifs,
.flex-c.aifs,
.flex-column.aifs {
  align-items: flex-start;
}

.flex.aife,
.flex-c.aife,
.flex-column.aife {
  align-items: flex-end;
}

.f1 {
  flex: 1;
}

.block {
  display: block;
}

.none {
  display: none;
}

.border-none {
  border: none;
}

.w-10 {
  width: 10%;
}

.w-20 {
  width: 20%;
}

.w-30 {
  width: 30%;
}

.w-40 {
  width: 40%;
}

.w-50 {
  width: 50%;
}

.w-60 {
  width: 60%;
}

.w-70 {
  width: 70%;
}

.w-80 {
  width: 80%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

.h-10 {
  height: 10%;
}

.h-20 {
  height: 20%;
}

.h-30 {
  height: 30%;
}

.h-40 {
  height: 40%;
}

.h-50 {
  height: 50%;
}

.h-60 {
  height: 60%;
}

.h-70 {
  height: 70%;
}

.h-80 {
  height: 80%;
}

.h-90 {
  height: 90%;
}

.h-100 {
  height: 100%;
}

.p-0 {
  padding: 0;
}

.px-0 {
  padding-right: 0;
  padding-left: 0;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}

.pt-0 {
  padding-top: 0;
}

.pr-0 {
  padding-right: 0;
}

.pb-0 {
  padding-bottom: 0;
}

.pl-0 {
  padding-left: 0;
}

.p-10 {
  padding: 10px;
}

.px-10 {
  padding: 0 10px;
}

.py-10 {
  padding: 10px 0;
}

.pt-10 {
  padding-top: 10px;
}

.pr-10 {
  padding-right: 10px;
}

.pb-10 {
  padding-bottom: 10px;
}

.pl-10 {
  padding-left: 10px;
}

.p-20 {
  padding: 10px;
}

.px-20 {
  padding: 0 10px;
}

.py-20 {
  padding: 10px 0;
}

.pt-20 {
  padding-top: 10px;
}

.pr-20 {
  padding-right: 10px;
}

.pb-20 {
  padding-bottom: 10px;
}

.pl-20 {
  padding-left: 10px;
}

.p-40 {
  padding: 40px;
}

.px-40 {
  padding: 0 40px;
}

.py-40 {
  padding: 40px 0;
}

.pt-40 {
  padding-top: 40px;
}

.pr-40 {
  padding-right: 40px;
}

.pb-40 {
  padding-bottom: 40px;
}

.pl-40 {
  padding-left: 40px;
}

.p-40 {
  padding: 40px;
}

.px-80 {
  padding: 0 80px;
}

.py-80 {
  padding: 80px 0;
}

.pt-80 {
  padding-top: 80px;
}

.pr-80 {
  padding-right: 80px;
}

.pb-80 {
  padding-bottom: 80px;
}

.pl-80 {
  padding-left: 80px;
}

.p-160 {
  padding: 160px;
}

.px-160 {
  padding: 0 160px;
}

.py-160 {
  padding: 160px 0;
}

.pt-160 {
  padding-top: 160px;
}

.pr-160 {
  padding-right: 160px;
}

.pb-160 {
  padding-bottom: 160px;
}

.pl-160 {
  padding-left: 160px;
}

.p-320 {
  padding: 320px;
}

.px-320 {
  padding: 0 320px;
}

.py-320 {
  padding: 320px 0;
}

.pt-320 {
  padding-top: 320px;
}

.pr-320 {
  padding-right: 320px;
}

.pb-320 {
  padding-bottom: 320px;
}

.pl-320 {
  padding-left: 320px;
}

.mtmg {
  margin-top: var(--main_gap);
}

.mbmg {
  margin-bottom: var(--main_gap);
}

.mlmg {
  margin-left: var(--main_gap);
}

.mrmg {
  margin-right: var(--main_gap);
}

.ptmg {
  padding-top: var(--main_gap);
}

.pbmg {
  padding-bottom: var(--main_gap);
}

.plmg {
  padding-left: var(--main_gap);
}

.prmg {
  padding-right: var(--main_gap);
}

.m-0 {
  margin: 0;
}

.mx-0 {
  margin-right: 0;
  margin-left: 0;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}

.mt-0 {
  margin-top: 0;
}

.mr-0 {
  margin-right: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.ml-0 {
  margin-left: 0;
}

.m-10 {
  margin: 10px;
}

.mx-10 {
  margin: 0 10px;
}

.my-10 {
  margin: 10px 0;
}

.mt-10 {
  margin-top: 10px;
}

.mr-10 {
  margin-right: 10px;
}

.mb-10 {
  margin-bottom: 10px;
}

.ml-10 {
  margin-left: 10px;
}

.m-20 {
  margin: 20px;
}

.mx-20 {
  margin: 0 20px;
}

.my-20 {
  margin: 20px 0;
}

.mt-20 {
  margin-top: 20px;
}

.mr-20 {
  margin-right: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.ml-20 {
  margin-left: 20px;
}

.m-40 {
  margin: 40px;
}

.mx-40 {
  margin: 0 40px;
}

.my-40 {
  margin: 40px 0;
}

.mt-40 {
  margin-top: 40px;
}

.mr-40 {
  margin-right: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

.ml-40 {
  margin-left: 40px;
}

.m-80 {
  margin: 80px;
}

.mx-80 {
  margin: 0 80px;
}

.my-80 {
  margin: 80px 0;
}

.mt-80 {
  margin-top: 80px;
}

.mr-80 {
  margin-right: 80px;
}

.mb-80 {
  margin-bottom: 80px;
}

.ml-80 {
  margin-left: 80px;
}

.m-160 {
  margin: 160px;
}

.mx-160 {
  margin: 0 160px;
}

.my-160 {
  margin: 160px 0;
}

.mt-160 {
  margin-top: 160px;
}

.mr-160 {
  margin-right: 160px;
}

.mb-160 {
  margin-bottom: 160px;
}

.ml-160 {
  margin-left: 160px;
}

.m-320 {
  margin: 320px;
}

.mx-320 {
  margin: 0 320px;
}

.my-320 {
  margin: 320px 0;
}

.mt-320 {
  margin-top: 320px;
}

.mr-320 {
  margin-right: 320px;
}

.mb-320 {
  margin-bottom: 320px;
}

.ml-320 {
  margin-left: 320px;
}

/* 字体 */
.font-size-min {
  font-size: 12px;
}

.font-bold,
.bold {
  font-weight: 800;
}

/* 背景 */
.bg-white {
  background-color: white;
}

/* 颜色 */
.color-3 {
  color: var(--top_color);
}

.color-6 {
  color: var(--middle_color);
}

.color-9 {
  color: var(--lower_color);
}

.color-white {
  color: white;
}

.container {
  padding: 8px;
  height: 100%;
}

.cp {
  cursor: pointer;
}

.border {
  border: var(--main_line);
}

.border-radius {
  border-radius: var(--main_radius);
}

/* 方块 */
.square {
  width: var(--main_size);
  height: var(--main_size);
}

/* 全屏 */
.full {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.full-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-black {
  color: black;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.line {
  width: 100%;
  border-top: 1px solid var(--main_grey);
}

.line-transparent {
  border-top: 1px solid transparent;
}

.button-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  font-size: 16px;
  font-weight: 800;
  color: white;
  line-height: 16px;
  background: var(--color_blue_3);
  border-radius: var(--main_radius);
  cursor: pointer;
}

.button-primary:hover {
  background: var(--color_blue_4);
}

#loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, .2);
}

#loading svg {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(0.8);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

#ui_toast {
  position: fixed;
  z-index: 10;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: 200px;
  line-height: var(--main_size);
  text-align: center;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: var(--shadow_l);
}

.pointer {
  cursor: pointer;
}

.z-1 {
  z-index: 1;
}

/* 滚动条样式 */
/* 隐藏默认的滚动条 */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

/* 定制滑块的样式 */
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: var(--color_gray_6);
}

/* 定制滑道的样式 */
::-webkit-scrollbar-track {
  background-color: transparent;
}